﻿namespace Way.Bus.WMS.ST.Model
{
    using System;
    using System.Runtime.CompilerServices;
    using Way.Bus.Model;
    using Way.EAP.DataAccess.Entity;

    [EntityClassAttribut("Acc_Bus_BusinessCustomerAddress", "往来企业联系信息", IsOnAppendProperty=true)]
    public class ST_CustomerAdress : BusinessBase
    {
        [EntityField(0xfa0), EntityControl("地址", false, true, 3)]
        public string LXRAddress { get; set; }

        [EntityField(100), EntityControl("联系人", false, true, 1)]
        public string LXRName { get; set; }

        [EntityControl("移动电话", false, true, 2), EntityField(50)]
        public string LXRPhone { get; set; }

        [EntityField(100), EntityForeignKey(typeof(ST_Customer), "ID", "CUSTOMERNAME")]
        public int PID { get; set; }

        [EntityControl("联系电话", false, true, 6), EntityField(20)]
        public string zdtel { get; set; }
    }
}

